<!DOCTYPE html>{% load i18n %}
<html>
<head>
    <title>{% trans 'WiFi username and passwords' %}</title>
    <style type="text/css">
        body {
            font-size: 15px;
            font-family: sans-serif
        }
        table { width: 100%; border-collapse: collapse }
        table th { font-weight: bold }
        table th, table td {
            border: 1px solid #ccc;
            padding: 10px;
        }
    </style>
</head>
<body>
{% if users %}
    <table>
        <tr>
            <th>{% trans 'Username' %}</th>
            <th>{% trans 'Password' %}</th>
        </tr>
        {% for row in users %}
        <tr>
            {% for cell in row %}
            <td>{{ cell }}</td>
            {% endfor %}
        </tr>
        {% endfor %}
    </table>
{% else %}
    No user credential data found.
    If you have upgraded from django-freeradius, please note it is not possible to import user credential data.
    If you are an operator, please contact system administrator for more information.
{% endif %}
</body>
</html>
